﻿<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>编辑器测试</title>
	<link rel="stylesheet" href="css/editormd.css">
	<link rel="stylesheet" href="css/editormd.logo.css">
	<link rel="stylesheet" href="css/editormd.preview.css">

</head>
<body>
	<div class="editormd" id="test-editormd">
		<script type="text/markdown">###Hello world!</script>
	</div>
	<script src="js/jquery.min.js"></script>
	<script src="editormd.js"></script>
	<script type="text/javascript">
    var testEditor;
    $(function() {
        testEditor = editormd("test-editormd", {
            width   : "90%",
            height  : 640,
            path    : "lib/",
            imageUpload : true,
		    imageFormats : ["jpg", "jpeg", "gif", "png", "bmp", "webp"],
		    imageUploadURL : "./php/upload.php",
        });
    });
</script>
</body>
</html>